# # TODO 循环嵌套
# #循环里面包裹循环
# i = 1
# while i<4:
#     print(i)
#     i=i+1
#
# i =1
# while i<4:
#     print(i,end = ' ')
#     i=i+1
# print()
#
# i =1
# while i<4:
#     print(i,end = ' ')
#     i=i+1
# print()
#
# i =1
# while i<4:
#     print(i,end = ' ')
#     i=i+1
# print()

j = 1
while j < 6:
    i = 1
    while i <= j:
        print('★',end=' ')
        i = i + 1
    print()
    j=j+1

